package com.seleniti.enpareja.web.appbase.client.control.navigation;

import org.ioc.commons.impl.gwt.client.flowcontrol.activitymapper.GoPlace;

import com.seleniti.enpareja.controller.control.place.EnParejaPlace;

public class LoginPlace extends GoPlace<EnParejaPlace> {

	private EnParejaPlace placeWhenLoginOk;
	private String userEmail;

	public LoginPlace(EnParejaPlace place, boolean resetView, String subPlaceToken, EnParejaPlace placeWhenLoginOk, String userEmail) {
		super(place, resetView, subPlaceToken);
		this.placeWhenLoginOk = placeWhenLoginOk;
		this.userEmail=userEmail;
	}

	public EnParejaPlace getPlaceWhenLoginOk() {
		return placeWhenLoginOk;
	}
	
	public String getUserEmail() {
		return userEmail;
	}

}
